package com.cn.dim.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.dim.dao.AuthenticationDao;
import com.cn.dim.pojo.User;
import com.cn.dim.service.AuthenticationService;
@Service("authenticationService")
public class AuthenticationServiceImpl implements AuthenticationService {

	@Resource
	 AuthenticationDao  authenticationDao;
	@Override
	public User login(Map<String, Object> m) {
		// TODO Auto-generated method stub
		return authenticationDao.login(m);
	}
	@Override
	public User telephonelogin(Map<String, Object> m) {
		// TODO Auto-generated method stub
		return authenticationDao.telephonelogin(m);
	}
	
}
